﻿using System.ComponentModel;

namespace Acaweb.Model.Entities.DatosCompuestos
{
    public enum EstadoCivil
    {
        /// <summary>
        /// Viudo
        /// </summary>
        V,
        /// <summary>
        /// Union Libre
        /// </summary>
        U,
        /// <summary>
        /// Religioso
        /// </summary>
        R,
        /// <summary>
        /// Separado
        /// </summary>
        P,
        /// <summary>
        /// Divorciado
        /// </summary>
        D,
        /// <summary>
        /// Casados
        /// </summary>
        C,
        /// <summary>
        /// 
        /// </summary>
        O,
        /// <summary>
        /// Soltero
        /// </summary>
        S,
        /// <summary>
        /// Ninguno
        /// </summary>
        N,
    }

    public class EstadoCivilType : NHibernate.Type.EnumStringType
    {
        public EstadoCivilType() : base(typeof(EstadoCivil)) { }
    }
}
